home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gigarom 1
/
Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso
/
FILES
/
HYP
/
H-I
/
HyperHackers.cpt
/
Hyper-Hackers Queue 1.0
/
card_24158.txt
< prev
next >
Wrap
Text File
|
1989-02-26
|
1KB
|
54 lines
-- card: 24158 from stack: in.0
-- bmap block id: 0
-- flags: 0000
-- background id: 3797
-- name:
-- part contents for background part 1
----- text -----
From: cs2531as@charon.unm.edu (Andrew Stone)
Date: 29 Feb 88 16:01:18 GMT
Hi. A voracious comp.sys.mac.* reader, I could not help but
notice the monthly return of "closefield message not sent" gripe.
Maybe, Apple's own kludge from Technical Note #169 will be of interest:
If you have to have a closeField message for error handling or whatever,
try adding these scripts to the specified targets:
card script: on openCard
global myField
put bkgnd field 1 into myField
end openCard
Field script: on closeField
global myField
put bkgnd field 1 into myField
end closeField
Button script: on mouseDown - or mouseUp Let's assume this is bckgnd button 2
global myField
if myField is not bkgnd field 1 then] -option return
send closeField to bckgnd field 1
end mouseDown
"Then, when the user edits bkgnd field 1 and then clicks on bckgnd button 2,
HC will send the closeField message to bckgnd field 1 if and only if the
user has changed its contents and the closeField message has not already
been sent."
BTW- have we decided which char to use for option-return (soft return)?
"]" kind of looks like it.
-- part contents for background part 45
----- text -----
closeField emulator